home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2
/
IRIX 6.2 CD2.iso
/
dist
/
outbox.idb
/
usr
/
relnotes
/
Outbox
/
ch4.z
/
ch4
Wrap
Text File
|
1996-06-10
|
3KB
|
133 lines
- 1 -
4. _T_h_e__W_e_b__S_e_r_v_e_r
Bundled with the Outbox product is the webserver product
which is a fully functional HTTP 1.0 compliant Web Server.
By default this server is installed in the "/var/www"
directory and its configuration files also reside there.
However, this can be changed by editing the appropriate
configuration files located in:
+o /var/www/conf
+o /var/www/server/conf
4.1 _L_o_g_g_i_n_g_.
Extensive logging of user access is done by this server.
These logs are stored in "/var/www/server/logs" directory.
Since these logs can grow quite large, it is advisable to
prune them occasionally.
4.2 _K_n_o_w_n__B_u_g_s
For security reasons, by default the web server runs with a
user Id of "nobody". This user id should be assigned the
numeric id 60001 in the /etc/passwd file. In older IRIX
systems, "nobody" was assigned the number -2. The Web Server
cannot run with negative user ids, so the line the
/etc/passwd should be changed to look like:
nobody:*:60001:60001::/dev/null:/dev/null
4.3 _I_n_e_t_d__s_e_t_u_p_:
The webserver is configured to run through inetd. See man
inetd(1m) for more information on inetd.
For this purpose the following line is added to the
/etc/inetd.conf file:
http stream tcp nowait nobody ?/var/www/server/httpd
httpd
The first time this line is added by the script
"/var/www/server/install_server" that is executed at install
- 2 -
time by inst or swmgr. If a http line already exists in the
/etc/inetd.conf file then this line is NOT added to prevent
disturbing an existing httpd installation. In this case, see
the instructions in chapter 2 of these release notes on
installation with exisiting web servers.
4.4 _F_i_r_s_t__T_i_m_e__S_e_t_u_p_:
When a user logs in for the first time through the console
the script /var/www/server/addUser.sh runs that sets up the
users outbox environment. This script does the following
tasks:
+o Add an entry to the /var/www/htdocs/userList.html file.
+o Create a ~/public_html directory if one does not exist.
+o Create a ~/public_html/index.html file is one does not
exist. If one exists then a ~/public_html/index.html.N
file is created to prevent over-writing the existing
file.